package Demo.继承多态;

public class Pet {
    public void happy(){
        System.out.println("宠物很高兴");
    }
}